[HVM] Avoid mis-optimisation of the SVM/VMX exit handlers
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 28 Sep 2006 10:25:15 +0000 (11:25 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 28 Sep 2006 10:25:15 +0000 (11:25 +0100)
commitf10e4fdc2a412394ff7cc911ce257d42f73325c8
treeeea86c0a9e80f3ce9dc6aff08a8c9c37a894785c
parent7ce79f6a211cf3e5f95a4e58f2c8d7dcfafb333a
[HVM] Avoid mis-optimisation of the SVM/VMX exit handlers
by passing a *pointer* to the register state, instead of
'passing by value'.

This should fix the bugs resulting in display of
"trying to set reserved bit in EFER"
on the Xen console.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/x86_32/exits.S
xen/arch/x86/hvm/svm/x86_64/exits.S
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/x86_32/exits.S
xen/arch/x86/hvm/vmx/x86_64/exits.S
xen/include/asm-x86/hvm/support.h